home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr25
/
whris.zip
/
README.DOC
< prev
next >
Wrap
Text File
|
1993-03-01
|
3KB
|
74 lines
Yes, yet another command-line file find utility. This one is 32-bit so it only
works with OS/2 2.0 and higher. If you need a 16-bit version, contact me at my
Compuserve id 72251,750 and I'll E-Mail you one.
Most of the time, if you always do a multiple-drive search, all you need to do
is 'whereis filename'. The drives and directories will be displayed as they are
searched.
To search only one drive, 'whereis d:filename' where d is the drive letter.
To search only specified drives, 'whereis filename //ddd' where each d is a
different drive letter (that's right - 2 slashes).
To search using a certain directory as a root for the search,
'whereis d:\dirpath\filename' where d is the drive letter and dirpath is any
valid directory path. Leaving out the drive letter will search the current
drive.
Using 'whereis .\filename' will start the search from the current drive and
current directory using OS/2's special directory characters.
Hitting the D key while search is in progress will toggle the displaying of
the directories being searched. This is useful for long searches because
displaying the directory names does take time - a 37 second search took only
31 seconds without listing the directory names.
Use the /s option when redirecting to a printer. This will suppress all the
messages that display program progress. Without the /s, your output will be a
mess because the displays don't use line feeds.
All options will be displayed by invoking WHEREIS without any command-line
parameters. You will get the following screen:
-------------------------------------------------------------------------------
Whereis.exe, 32-bit, Version 2.1
Copyright (c) Code Blazers, Inc. 1989-1992. All rights reserved.
USAGE: whereis [starting-point]file-name [/s //drives]
if no drive letter in starting-point and //drives are not specified,
all hard drives are searched
starting point can be any valid filespec
/s - suppress 'Searching' messages (good if redirecting to printer)
//drives - specify each drive you want to search
EXAMPLES:
whereis e:foo.c - search only drive E for foo.c
whereis foo.c //cde - search drives C,D, and E for foo.c
whereis c:\os2\foo.c - search for foo.c using c:\os2 as the starting point
whereis foo.c - search all hard drives for foo.c
WHILE RUNNING, THESE KEYS CAN BE USED:
D - Toggles displaying of directories being searched
P - Pauses the program
<ESC> - Exits the program
-------------------------------------------------------------------------------
ALSO INCLUDED: pgmpath.exe (syntax: pgmpath filename (no extension necessary))
to search the PATH for an exe or cmd file and return the fully
qualified path.
Any comments, suggestions, bug reports can be sent to my CIS id 72251,750.
Rick Fishman
Code Blazers, Inc.
4113 Apricot
Irvine, CA 92720